package com.harvest.scientific.ladder.util

import android.app.Application


object AppGlobals {
    private val application: Application by lazy {
        Class.forName("android.app.ActivityThread")
            .getMethod("currentApplication")
            .invoke(null) as Application
    }
    @JvmStatic
    fun get() = application



    @JvmStatic
    fun getPackageName(): String = application.packageName
}